<?php

namespace App\Http\Controllers\Sub;

use App\Http\Controllers\BaseController;
use App\Module\TeamsModule;
use Illuminate\Http\Request;

class SubTeamsController extends BaseController
{

    public function detailInit(Request $request){
        $this->run(TeamsModule::class,'detailInit',$request);
        return $this->response();
    }
    public function detail(Request $request){
        $this->run(TeamsModule::class,'subDetail',$request);
        return $this->response();
    }

    public function editServer(Request $request){
        $this->run(TeamsModule::class,'subEditServer',$request);
        return $this->response();
    }

    public function updateServer(Request $request){
        $this->run(TeamsModule::class,'subUpdateServer',$request);
        return $this->response();
    }

    public function editDict(Request $request){
        $this->run(TeamsModule::class,'subEditDict',$request);
        return $this->response();
    }

    public function open(Request $request){
        $this->run(TeamsModule::class,'subOpen',$request);
        return $this->response();
    }

}
